<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="/dist/css/bootstrap.min.css">
	<script src="/dist/js/jquery.min.js"></script>
	<script src="/dist/js/bootstrap.min.js"></script>
	<script src="/dist/js/holder.min.js"></script>
	<script src="/dist/js/application.min.js"></script>

	<style>
	.one{
		border:solid 1px #999;
	}
	.two{
		margin-top:10px;
	}
	.three{
		margin-top:20px;
		height:60px;
		line-height:60px;
	}
	.four{
		float:right;

	}
	* .xiaoyuandian{
		list-style:none;
		height:40px;
	}

	.bottom {
		margin-left:20px;
		float:left;
		color:#999;
	}
	.five{
		padding-top:10px;


	}
	.six{
		padding-top:10px;
		height:40px;
		

	}
	.yijuhua{
		left:2px;
	}
	 .item{
		margin-right:20px;
		float:left;
	}
	* .xiaoyuandian{
		list-style:none;
	}
	.seven{
		margin-top:20px;

	}
	a{
		cursor:pointer;
	}

	</style>


</head>
<body>
	@include('/home/menu')
	<div class="container "> 
			<div class="col-md-offset-1 col-md-10">	
			@if(session('error'))
				<div class="alert alert-warning alert-dismissible col-md-8 " role="alert">
				  <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
				  <strong>温馨提示!</strong> {{session('error')}}
				</div>
			@endif
				<div class=" col-md-8 one  ">
				  <div class="two" >
					<div class=" col-md-2" >信息完善度</div>
					 	<div class=" col-md-6">
							<div class="progress ">
								  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width:{{ $num }}%;">
								    {{ $num }}%
								  </div>
							</div>
						</div>
				    </div>
				</div>
				<div class=" col-md-8 one three  ">
					<a>{{$row->username}}</a><span>>>编辑个人资料</span>
					<div class="four"><a href="/people/people"><span>返回个人主页</span></a></div>
				</div>
		  <form action="/people/doform"  method="post" enctype="multipart/form-data" > <!-- enctype="multipart/form-data" -->
				<div class=" col-md-8 one five ">
					<div class="col-md-offset-1  ">
						<ul class="media-list">
						  <li class="media">
						    
						    <div class="media-body col-md-offset-3 "><br>
						      <h4 class="media-heading bottom">头像</h4>
						    </div>
						    
						    	<input type="file"name='photo' >
						    
						   <!--  <a class="media-left " href="#">
						   
						     <img src="/image/IMG_6999.png" width='100px' height='100px' alt="..." title="这是头像">
						   </a> -->
						  </li>
						</ul>
					</div>
				</div>
				<div class=" col-md-8 one six">
					<ul>
						<li class="xiaoyuandian bottom">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;性别:</li>
						<li class="xiaoyuandian bottom"><input type="text" name="sex" value="{{$row->sex}}" placeholder="例如:男" ></li>
					</ul>
				</div>
				<div class=" col-md-8 one six yijuhua">
					<ul>
						<li class="xiaoyuandian bottom">所在行业:</li>
						<li  class="xiaoyuandian bottom"><input type="text" name="trade" value="{{$row->trade}}" placeholder="例如:互联网"></li>
					</ul>
				</div>
				<div class=" col-md-8 one six yijuhua">
					<ul>
						<li class="xiaoyuandian bottom">居住地址:</li>
						<li  class="xiaoyuandian bottom"><input type="text" name="address" value="{{$row->address}}" placeholder="例如:北京"></li>
					</ul>
				</div>
				<div class=" col-md-8 one six yijuhua">
					<ul>
						<li class="xiaoyuandian bottom">职业经历:</li>
						<li  class="xiaoyuandian bottom"><input type="text" name="company" value="{{$row->company}}"placeholder="例如:程序员" ></li>
					</ul>
				</div>
				<div class=" col-md-8 one six yijuhua">
					<ul>
						<li class="xiaoyuandian bottom">教育经历:</li>
						<li  class="xiaoyuandian bottom"><input type="text" name="school" value="{{$row->school}}"placeholder="例如:本科" ></li>
					</ul>
				</div>
				<div class=" col-md-8 one six yijuhua">
					<ul>
						<li class="xiaoyuandian bottom">个人简介:</li>
						<li  class="xiaoyuandian bottom"><input type="text" name="synopsis" value="{{$row->synopsis}}" placeholder="例如:先定一个小目标!!!"></li>
						<!-- <li class="xiaoyuandian bottom"><span>{{$row->synopsis}}</span></li> -->
						<!-- <li class="xiaoyuandian bottom"><button class="but" >全部保存</button></li>  --> 
						{{ csrf_field() }}
						<li class="xiaoyuandian bottom"><input type="submit"></li>  
					</ul>
				</div>
		  </form>	
				   <div class='col-md-12 seven '>
					        <div class="row ">
								<ul style="padding-left: 0px;">
									<li class="xiaoyuandian bottom"><a  href="javascript:;">热点推荐</a></li>
									<li class=" bottom"><a href="javascript:;">者也指南</a></li>
									<li class=" bottom"><a  href="javascript:;">建议反馈</a></li>
									<li class=" bottom"><a  href="javascript:;">移动应用</a></li>
								
									<li class="xiaoyuandian bottom"><a href="javascript:;">加入者也</a></li>
									<li class=" bottom"><a  href="javascript:;">者也协议</a></li>
									<li class=" bottom"><a href="javascript:;">联系我们</a></li>
									&nbsp;<span class="copy">&copy; 2016 者也</span>
								</ul>
						    </div>
				   </div>
			</div>
		
	</div>
			<script>
			//测试
			// alert($);
			


			</script>

</body>
</html>